package com.sikaryofficial.backend.domain.dto.resp.information;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 关注对象 follow_t
 *
 * @author qinjinyuan
 * @date 2024-04-10
 */
@Getter
@Setter
@ToString
@ApiModel(value = "Topic出参", description = "Topic出参")
public class TopicDTO {
    /**
     * 文章ID;
     */
    @ApiModelProperty(value = "topicId")
    private Long topicId;
    /**
     * topic
     */
    @ApiModelProperty(value = "topic")
    private String headline;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;

    @ApiModelProperty(value = "文章阅读量")
    private Integer viewCount;
}
